package stategy;

import paper.Paper;

import java.util.Collections;
import java.util.List;

public class RandomSelectionStrategy implements PaperSelectionStrategy {
    @Override
    public List<Paper> select(List<Paper> available, int quantity) {
        Collections.shuffle(available);
        return available.subList(0, quantity);
    }
}
